//
//  HJFightCell.m
//  project
//
//  Created by hu on 2019/4/4.
//  Copyright © 2019 健健. All rights reserved.
//

#import "HJFightCell.h"

@interface HJFightCell()
@property (weak, nonatomic) IBOutlet UIView *bgView;
@property (weak, nonatomic) IBOutlet UILabel *planeName;
@property (weak, nonatomic) IBOutlet UILabel *cabin;
@property (weak, nonatomic) IBOutlet UILabel *starTime;
@property (weak, nonatomic) IBOutlet UILabel *endTime;
@property (weak, nonatomic) IBOutlet UILabel *price;
@property (weak, nonatomic) IBOutlet UILabel *starAirportName;
@property (weak, nonatomic) IBOutlet UILabel *endAirPortName;
@property (weak, nonatomic) IBOutlet UIButton *selectBtn;

@end
@implementation HJFightCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    [self.bgView rounded:UIRectCornerAllCorners radius:10];
    [self.selectBtn rounded:UIRectCornerAllCorners radius:11.5 borderColor:[UIColor colorWithHex:0xFF4B64] borderWidth:1];
}

- (IBAction)selectBtnClicked:(UIButton *)sender {
    if (self.selecteBlock) {
        self.selecteBlock(@"");
    }
}


@end
